package demo;

import java.util.*;

public class Generics {

	private void a() {
		List<Snail> s = new ArrayList<Snail>();
		
		Pair<Integer, String> firstPair = new Pair<Integer, String>();
		Pair<Boolean, ? extends Animal> strangePair 
		= new Pair<Boolean, Snail>();
		
		
		
	}

}
